<?php 
	/**
	 * @author wyl
	 * @date 2015-8-31 13:51:32
	 */
?>
<div class='user-info'>
	<ul>
		<li>
			<div class='row'>
				<div class='col-xs-3'>
					<h1>Information:</h1>
				</div>
			</div>
		</li>
		<li>
			<div class='row'>
				<div class='col-xs-1'>
					<span>Welcome:</span>
				</div>
				<div class='col-xs-3'>
					<span ><?php echo Yii::app()->user->name?></span>
				</div>
			</div>
		</li>
	</ul>
</div>
<?php
	$this->widget('application.components.widgets.CGridViewPlus', array(
			'id'=>'bid-history-grid',
			'dataProvider'	=>$bidhistory->search(),
			'ajaxUpdate'	=>true,
			'template'		=>"{headerTool}\n{items}\n{pager}",
			'headerTool' => array(
				'buttonClass' => 'btn grid-btn',
				'buttons' => array(
					'button1' => array(
						'label'	=> 'Generate CSV',
						'type'	=> 'csv',
					),
					'button2' => array(
						'label'	=> 'Report',
						'type'	=> 'report',
					),
				)
				
			),
			'columns'=>array(
					'bid_source_type','amount','bid_type','action','note',
					array('name'=>'created','value'=>'date("Y-m-d H:i:s",$data->created)'),
			),
	));
?>
